<?php
require_once("../global.php");
require_once("libs/rekanan.ins.php");

baca_permisi(4);
if($permisi[access]!="izin"){
	//header("Location: ../warning.php");
	echo "<script>window.location='../warning.php'</script>";
}
?>

<html>
<head>
<title>.: Sim Pajak NK :.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet"  href="../tampilan.css" type="text/css">
<script>
//	function nextField(objAsal, objKe){
//		var batas = document.all[objAsal].maxLength;
//		var Char = document.all[objAsal].value;
//		var jmlChar = Char.length;
//	//	alert (batas);
//	//	alert (Char);
//	//	alert (jmlChar);
//		if(parseInt(batas) == parseInt(jmlChar)){
//			document.all[objKe].select();
//		}else{
//			document.all[objAsal].focus();
//		}
//
//	}
//        function Jenis(){
//	kode_customer=document.all['inp[kode_customer]'].value;
//        nama_customer=document.all['inp[nama_customer]'].value;
//        npwp=document.all['inp[npwp1]'].value+'.'+document.all['inp[npwp2]'].value+'.'+document.all['inp[npwp3]'].value+'.'+document.all['inp[npwp4]'].value+'-'+document.all['inp[npwp5]'].value+'.'+document.all['inp[npwp6]'].value;
//        jenis_pkp=document.all['inp[jenis_pkp]'].value;
////        tgl_pengukuhan=document.all['inp[tahun_tgl_pengukuhan]'].value+'-'+document.all['inp[bulan_tgl_pengukuhan]'].value+'-'+document.all['inp[hari_tgl_pengukuhan]'].value;
//        alamat=document.all['inp[alamat]'].value;
//        propinsi=document.all['inp[propinsi]'].value;
//        telepon=document.all['inp[telepon]'].value;
//        fax=document.all['inp[fax]'].value;
//        contact_person=document.all['inp[contact_person]'].value;
//        jabatan=document.all['inp[jabatan]'].value;
//        namabank=document.all['inp[namabank]'].value;
//        norekening=document.all['inp[norekening]'].value;
//        website=document.all['inp[website]'].value;
//        email=document.all['inp[email]'].value;
//	window.location.href ='?<?=var_kirim($inp_par)?>&inp[kode_customer]='+kode_customer+'&inp[nama_customer]='+nama_customer+'&inp[npwp]='+npwp+'&inp[jenis_pkp]='+jenis_pkp+'&inp[alamat]='+alamat+'&inp[propinsi]='+propinsi+'&inp[telepon]='+telepon+'&inp[fax]='+fax+'&inp[contact_person]='+contact_person+'&inp[jabatan]='+jabatan+'&inp[namabank]='+namabank+'&inp[norekening]='+norekening+'&inp[website]='+website+'&inp[email]='+email+'&pilih_combo=true';
//        }
function ToUpper(ctrl){
        var t = ctrl.value;
        ctrl.value = t.toUpperCase();
    }
</script>


</head>
<?=$fungsi_pindah?>
<body>
<table width="98%" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
<td height="5" colspan="2"><img src="../img/0.gif" width="1" height="10"></td>
</tr>
<tr> 
<td width="15" background="../img/bg-jdl-ppn.gif">&nbsp;</td>
<td height="25" background="../img/bg-jdl-ppn.gif"><img src="../img/jdl-rekanan1.gif" height="25"></td>
</tr>
</table>
<?php
echo generate_form($inp_par);
?>
</body>
</html>
